﻿using sMES_Base.service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using sMES_Base;
using unload_scrap_acc_from_machine_process.Models;
using unload_scrap_acc_from_machine_process;

namespace unload_scrap_acc_from_machine_process_C
{
    /// <summary>
	/// 服務[unload_scrap_acc_from_machine_process]
    /// <auth>JingHuang</auth><time>2019/1/2 上午 09:05:36</time>
    /// <description></description>
    /// <list>
    ///     <modify>
    ///         <auth></auth><mantis>0053953</mantis><time></time>
    ///         <description>設備卸下異常模具</description>
    ///     </modify>
    /// </list>
    /// </summary>
    public class unload_scrap_acc_from_machine_process_C : BaseService
    {
        public unload_scrap_acc_from_machine_process_C(ServiceInfo _ServiceInfo) : base(_ServiceInfo)
        {
        }

        public override ServiceResponse ExecuteImplement(ServiceRequest ServiceRequest, ServiceResponse ServiceResponse)
        {

            REQ_unload_scrap_acc_from_machine_process _content = ServiceRequest.GetContent<REQ_unload_scrap_acc_from_machine_process>();

            //取出Utilitiy
            unload_scrap_acc_from_machine_process_utility _utility = GetUtilities<unload_scrap_acc_from_machine_process_utility>();

            ServiceResponse.Content = new RES_unload_scrap_acc_from_machine_process();

            ServiceResponse.Content = _utility.unload_acc_from_machine_process(_content);

            return ServiceResponse;
        }
    }
}
